home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / sql / ResultSet.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  8.7 KB  |  400 lines

  1. package java.sql;
  2.  
  3. import java.io.InputStream;
  4. import java.io.Reader;
  5. import java.math.BigDecimal;
  6. import java.net.URL;
  7. import java.util.Calendar;
  8. import java.util.Map;
  9.  
  10. public interface ResultSet extends Wrapper {
  11.    int FETCH_FORWARD = 1000;
  12.    int FETCH_REVERSE = 1001;
  13.    int FETCH_UNKNOWN = 1002;
  14.    int TYPE_FORWARD_ONLY = 1003;
  15.    int TYPE_SCROLL_INSENSITIVE = 1004;
  16.    int TYPE_SCROLL_SENSITIVE = 1005;
  17.    int CONCUR_READ_ONLY = 1007;
  18.    int CONCUR_UPDATABLE = 1008;
  19.    int HOLD_CURSORS_OVER_COMMIT = 1;
  20.    int CLOSE_CURSORS_AT_COMMIT = 2;
  21.  
  22.    boolean next() throws SQLException;
  23.  
  24.    void close() throws SQLException;
  25.  
  26.    boolean wasNull() throws SQLException;
  27.  
  28.    String getString(int var1) throws SQLException;
  29.  
  30.    boolean getBoolean(int var1) throws SQLException;
  31.  
  32.    byte getByte(int var1) throws SQLException;
  33.  
  34.    short getShort(int var1) throws SQLException;
  35.  
  36.    int getInt(int var1) throws SQLException;
  37.  
  38.    long getLong(int var1) throws SQLException;
  39.  
  40.    float getFloat(int var1) throws SQLException;
  41.  
  42.    double getDouble(int var1) throws SQLException;
  43.  
  44.    /** @deprecated */
  45.    BigDecimal getBigDecimal(int var1, int var2) throws SQLException;
  46.  
  47.    byte[] getBytes(int var1) throws SQLException;
  48.  
  49.    Date getDate(int var1) throws SQLException;
  50.  
  51.    Time getTime(int var1) throws SQLException;
  52.  
  53.    Timestamp getTimestamp(int var1) throws SQLException;
  54.  
  55.    InputStream getAsciiStream(int var1) throws SQLException;
  56.  
  57.    /** @deprecated */
  58.    InputStream getUnicodeStream(int var1) throws SQLException;
  59.  
  60.    InputStream getBinaryStream(int var1) throws SQLException;
  61.  
  62.    String getString(String var1) throws SQLException;
  63.  
  64.    boolean getBoolean(String var1) throws SQLException;
  65.  
  66.    byte getByte(String var1) throws SQLException;
  67.  
  68.    short getShort(String var1) throws SQLException;
  69.  
  70.    int getInt(String var1) throws SQLException;
  71.  
  72.    long getLong(String var1) throws SQLException;
  73.  
  74.    float getFloat(String var1) throws SQLException;
  75.  
  76.    double getDouble(String var1) throws SQLException;
  77.  
  78.    /** @deprecated */
  79.    BigDecimal getBigDecimal(String var1, int var2) throws SQLException;
  80.  
  81.    byte[] getBytes(String var1) throws SQLException;
  82.  
  83.    Date getDate(String var1) throws SQLException;
  84.  
  85.    Time getTime(String var1) throws SQLException;
  86.  
  87.    Timestamp getTimestamp(String var1) throws SQLException;
  88.  
  89.    InputStream getAsciiStream(String var1) throws SQLException;
  90.  
  91.    /** @deprecated */
  92.    InputStream getUnicodeStream(String var1) throws SQLException;
  93.  
  94.    InputStream getBinaryStream(String var1) throws SQLException;
  95.  
  96.    SQLWarning getWarnings() throws SQLException;
  97.  
  98.    void clearWarnings() throws SQLException;
  99.  
  100.    String getCursorName() throws SQLException;
  101.  
  102.    ResultSetMetaData getMetaData() throws SQLException;
  103.  
  104.    Object getObject(int var1) throws SQLException;
  105.  
  106.    Object getObject(String var1) throws SQLException;
  107.  
  108.    int findColumn(String var1) throws SQLException;
  109.  
  110.    Reader getCharacterStream(int var1) throws SQLException;
  111.  
  112.    Reader getCharacterStream(String var1) throws SQLException;
  113.  
  114.    BigDecimal getBigDecimal(int var1) throws SQLException;
  115.  
  116.    BigDecimal getBigDecimal(String var1) throws SQLException;
  117.  
  118.    boolean isBeforeFirst() throws SQLException;
  119.  
  120.    boolean isAfterLast() throws SQLException;
  121.  
  122.    boolean isFirst() throws SQLException;
  123.  
  124.    boolean isLast() throws SQLException;
  125.  
  126.    void beforeFirst() throws SQLException;
  127.  
  128.    void afterLast() throws SQLException;
  129.  
  130.    boolean first() throws SQLException;
  131.  
  132.    boolean last() throws SQLException;
  133.  
  134.    int getRow() throws SQLException;
  135.  
  136.    boolean absolute(int var1) throws SQLException;
  137.  
  138.    boolean relative(int var1) throws SQLException;
  139.  
  140.    boolean previous() throws SQLException;
  141.  
  142.    void setFetchDirection(int var1) throws SQLException;
  143.  
  144.    int getFetchDirection() throws SQLException;
  145.  
  146.    void setFetchSize(int var1) throws SQLException;
  147.  
  148.    int getFetchSize() throws SQLException;
  149.  
  150.    int getType() throws SQLException;
  151.  
  152.    int getConcurrency() throws SQLException;
  153.  
  154.    boolean rowUpdated() throws SQLException;
  155.  
  156.    boolean rowInserted() throws SQLException;
  157.  
  158.    boolean rowDeleted() throws SQLException;
  159.  
  160.    void updateNull(int var1) throws SQLException;
  161.  
  162.    void updateBoolean(int var1, boolean var2) throws SQLException;
  163.  
  164.    void updateByte(int var1, byte var2) throws SQLException;
  165.  
  166.    void updateShort(int var1, short var2) throws SQLException;
  167.  
  168.    void updateInt(int var1, int var2) throws SQLException;
  169.  
  170.    void updateLong(int var1, long var2) throws SQLException;
  171.  
  172.    void updateFloat(int var1, float var2) throws SQLException;
  173.  
  174.    void updateDouble(int var1, double var2) throws SQLException;
  175.  
  176.    void updateBigDecimal(int var1, BigDecimal var2) throws SQLException;
  177.  
  178.    void updateString(int var1, String var2) throws SQLException;
  179.  
  180.    void updateBytes(int var1, byte[] var2) throws SQLException;
  181.  
  182.    void updateDate(int var1, Date var2) throws SQLException;
  183.  
  184.    void updateTime(int var1, Time var2) throws SQLException;
  185.  
  186.    void updateTimestamp(int var1, Timestamp var2) throws SQLException;
  187.  
  188.    void updateAsciiStream(int var1, InputStream var2, int var3) throws SQLException;
  189.  
  190.    void updateBinaryStream(int var1, InputStream var2, int var3) throws SQLException;
  191.  
  192.    void updateCharacterStream(int var1, Reader var2, int var3) throws SQLException;
  193.  
  194.    void updateObject(int var1, Object var2, int var3) throws SQLException;
  195.  
  196.    void updateObject(int var1, Object var2) throws SQLException;
  197.  
  198.    void updateNull(String var1) throws SQLException;
  199.  
  200.    void updateBoolean(String var1, boolean var2) throws SQLException;
  201.  
  202.    void updateByte(String var1, byte var2) throws SQLException;
  203.  
  204.    void updateShort(String var1, short var2) throws SQLException;
  205.  
  206.    void updateInt(String var1, int var2) throws SQLException;
  207.  
  208.    void updateLong(String var1, long var2) throws SQLException;
  209.  
  210.    void updateFloat(String var1, float var2) throws SQLException;
  211.  
  212.    void updateDouble(String var1, double var2) throws SQLException;
  213.  
  214.    void updateBigDecimal(String var1, BigDecimal var2) throws SQLException;
  215.  
  216.    void updateString(String var1, String var2) throws SQLException;
  217.  
  218.    void updateBytes(String var1, byte[] var2) throws SQLException;
  219.  
  220.    void updateDate(String var1, Date var2) throws SQLException;
  221.  
  222.    void updateTime(String var1, Time var2) throws SQLException;
  223.  
  224.    void updateTimestamp(String var1, Timestamp var2) throws SQLException;
  225.  
  226.    void updateAsciiStream(String var1, InputStream var2, int var3) throws SQLException;
  227.  
  228.    void updateBinaryStream(String var1, InputStream var2, int var3) throws SQLException;
  229.  
  230.    void updateCharacterStream(String var1, Reader var2, int var3) throws SQLException;
  231.  
  232.    void updateObject(String var1, Object var2, int var3) throws SQLException;
  233.  
  234.    void updateObject(String var1, Object var2) throws SQLException;
  235.  
  236.    void insertRow() throws SQLException;
  237.  
  238.    void updateRow() throws SQLException;
  239.  
  240.    void deleteRow() throws SQLException;
  241.  
  242.    void refreshRow() throws SQLException;
  243.  
  244.    void cancelRowUpdates() throws SQLException;
  245.  
  246.    void moveToInsertRow() throws SQLException;
  247.  
  248.    void moveToCurrentRow() throws SQLException;
  249.  
  250.    Statement getStatement() throws SQLException;
  251.  
  252.    Object getObject(int var1, Map<String, Class<?>> var2) throws SQLException;
  253.  
  254.    Ref getRef(int var1) throws SQLException;
  255.  
  256.    Blob getBlob(int var1) throws SQLException;
  257.  
  258.    Clob getClob(int var1) throws SQLException;
  259.  
  260.    Array getArray(int var1) throws SQLException;
  261.  
  262.    Object getObject(String var1, Map<String, Class<?>> var2) throws SQLException;
  263.  
  264.    Ref getRef(String var1) throws SQLException;
  265.  
  266.    Blob getBlob(String var1) throws SQLException;
  267.  
  268.    Clob getClob(String var1) throws SQLException;
  269.  
  270.    Array getArray(String var1) throws SQLException;
  271.  
  272.    Date getDate(int var1, Calendar var2) throws SQLException;
  273.  
  274.    Date getDate(String var1, Calendar var2) throws SQLException;
  275.  
  276.    Time getTime(int var1, Calendar var2) throws SQLException;
  277.  
  278.    Time getTime(String var1, Calendar var2) throws SQLException;
  279.  
  280.    Timestamp getTimestamp(int var1, Calendar var2) throws SQLException;
  281.  
  282.    Timestamp getTimestamp(String var1, Calendar var2) throws SQLException;
  283.  
  284.    URL getURL(int var1) throws SQLException;
  285.  
  286.    URL getURL(String var1) throws SQLException;
  287.  
  288.    void updateRef(int var1, Ref var2) throws SQLException;
  289.  
  290.    void updateRef(String var1, Ref var2) throws SQLException;
  291.  
  292.    void updateBlob(int var1, Blob var2) throws SQLException;
  293.  
  294.    void updateBlob(String var1, Blob var2) throws SQLException;
  295.  
  296.    void updateClob(int var1, Clob var2) throws SQLException;
  297.  
  298.    void updateClob(String var1, Clob var2) throws SQLException;
  299.  
  300.    void updateArray(int var1, Array var2) throws SQLException;
  301.  
  302.    void updateArray(String var1, Array var2) throws SQLException;
  303.  
  304.    RowId getRowId(int var1) throws SQLException;
  305.  
  306.    RowId getRowId(String var1) throws SQLException;
  307.  
  308.    void updateRowId(int var1, RowId var2) throws SQLException;
  309.  
  310.    void updateRowId(String var1, RowId var2) throws SQLException;
  311.  
  312.    int getHoldability() throws SQLException;
  313.  
  314.    boolean isClosed() throws SQLException;
  315.  
  316.    void updateNString(int var1, String var2) throws SQLException;
  317.  
  318.    void updateNString(String var1, String var2) throws SQLException;
  319.  
  320.    void updateNClob(int var1, NClob var2) throws SQLException;
  321.  
  322.    void updateNClob(String var1, NClob var2) throws SQLException;
  323.  
  324.    NClob getNClob(int var1) throws SQLException;
  325.  
  326.    NClob getNClob(String var1) throws SQLException;
  327.  
  328.    SQLXML getSQLXML(int var1) throws SQLException;
  329.  
  330.    SQLXML getSQLXML(String var1) throws SQLException;
  331.  
  332.    void updateSQLXML(int var1, SQLXML var2) throws SQLException;
  333.  
  334.    void updateSQLXML(String var1, SQLXML var2) throws SQLException;
  335.  
  336.    String getNString(int var1) throws SQLException;
  337.  
  338.    String getNString(String var1) throws SQLException;
  339.  
  340.    Reader getNCharacterStream(int var1) throws SQLException;
  341.  
  342.    Reader getNCharacterStream(String var1) throws SQLException;
  343.  
  344.    void updateNCharacterStream(int var1, Reader var2, long var3) throws SQLException;
  345.  
  346.    void updateNCharacterStream(String var1, Reader var2, long var3) throws SQLException;
  347.  
  348.    void updateAsciiStream(int var1, InputStream var2, long var3) throws SQLException;
  349.  
  350.    void updateBinaryStream(int var1, InputStream var2, long var3) throws SQLException;
  351.  
  352.    void updateCharacterStream(int var1, Reader var2, long var3) throws SQLException;
  353.  
  354.    void updateAsciiStream(String var1, InputStream var2, long var3) throws SQLException;
  355.  
  356.    void updateBinaryStream(String var1, InputStream var2, long var3) throws SQLException;
  357.  
  358.    void updateCharacterStream(String var1, Reader var2, long var3) throws SQLException;
  359.  
  360.    void updateBlob(int var1, InputStream var2, long var3) throws SQLException;
  361.  
  362.    void updateBlob(String var1, InputStream var2, long var3) throws SQLException;
  363.  
  364.    void updateClob(int var1, Reader var2, long var3) throws SQLException;
  365.  
  366.    void updateClob(String var1, Reader var2, long var3) throws SQLException;
  367.  
  368.    void updateNClob(int var1, Reader var2, long var3) throws SQLException;
  369.  
  370.    void updateNClob(String var1, Reader var2, long var3) throws SQLException;
  371.  
  372.    void updateNCharacterStream(int var1, Reader var2) throws SQLException;
  373.  
  374.    void updateNCharacterStream(String var1, Reader var2) throws SQLException;
  375.  
  376.    void updateAsciiStream(int var1, InputStream var2) throws SQLException;
  377.  
  378.    void updateBinaryStream(int var1, InputStream var2) throws SQLException;
  379.  
  380.    void updateCharacterStream(int var1, Reader var2) throws SQLException;
  381.  
  382.    void updateAsciiStream(String var1, InputStream var2) throws SQLException;
  383.  
  384.    void updateBinaryStream(String var1, InputStream var2) throws SQLException;
  385.  
  386.    void updateCharacterStream(String var1, Reader var2) throws SQLException;
  387.  
  388.    void updateBlob(int var1, InputStream var2) throws SQLException;
  389.  
  390.    void updateBlob(String var1, InputStream var2) throws SQLException;
  391.  
  392.    void updateClob(int var1, Reader var2) throws SQLException;
  393.  
  394.    void updateClob(String var1, Reader var2) throws SQLException;
  395.  
  396.    void updateNClob(int var1, Reader var2) throws SQLException;
  397.  
  398.    void updateNClob(String var1, Reader var2) throws SQLException;
  399. }
  400.